package com.heima.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_order")
public class Order extends EntryDDD{

    private String id; //订单ID
    private String orderNo; //订单编号
    private String thirdNo;
    private String innerCode;
    private String skuId;
    private String skuName;
    private Integer classId;
    private Integer status;
    private Double amount;  //支付金额
    private Double price;   //商品金额
    private Integer payType;    //支付方式
    private Integer payStatus;  //支付状态
    private Double bill;   //合作商账单金额
    private String addr;    //点位地址
    private String regionId;    //所属区域Id
    private String regionName;  //所属区域名称
    private Integer businessId; //所属商圈id
    private String businessName;    //商圈名称
    private Integer ownerId;    //合作商id
    private String openId;
    private Integer nodeId; //点位id
    private String nodeName;    //点位名称
    private String cancelDesc;  //取消原因


}
